package com.haikesi.api.subscribertable.domain.po;

import java.util.Date;

import javax.persistence.*;

import com.haikesi.api.base.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "subscriber_table")
public class SubscriberTablePo extends BaseEntity {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    /**
     * 订阅的账号
     */
    @Column(name = "subscriber_number")
    private String subscriberNumber;
    /**
     * 1订阅账号  2新增账号
     */
    @Column(name = "subscriber_type")
    private Integer subscriberType;

    /**
     * 订阅状态
     */
    @Column(name = "subscriber_state")
    private Integer subscriberState;

    /**
     * 上一次调用更新设备时间
     */
    @Column(name = "last_creat_time")
    private Date lastCreatTime;

    /**
     * 组织机构ID
     */
    @Column(name = "organization_id")
    private String organizationId;

    /**
     * 组织机构名称
     */
    @Column(name = "organization_name")
    private String organizationName;


    /**
     * 第三方回调地址
     */
    @Column(name = "callback_url")
    private String callbackUrl;

    @Column(name = "user_name")
    private String userName;
    @Column(name = "password")
    private String password;
    @Column(name = "user_phone")
    private String userPhone;
    @Column(name = "id_no")
    private String idNo;
    @Column(name = "gender")
    private String gender;
    @Column(name = "email")
    private String email;
    @Column(name = "area_code1")
    private String areaCode1;
    @Column(name = "area_code2")
    private String areaCode2;
    @Column(name = "area_code3")
    private String areaCode3;


}